<template>
  <ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user" id="layui-user">
    <li class="layui-nav-item">
        <a href="{:url('user/index/home',array('id'=>$Think.session.user.id))}">
        <i class="layui-icon">&#xe609;</i>
        我的主页
        </a>
    </li>
    <li :class="{'layui-this':1 == current}" class="layui-nav-item">
        <a href="/user">
        <i class="layui-icon">&#xe612;</i>
        用户中心
        </a>
    </li>
    <li :class="{'layui-this':2 == current}" class="layui-nav-item">
        <a href="{:url('user/index/set')}">
        <i class="layui-icon">&#xe620;</i>
        基本设置
        </a>
    </li>
    <li :class="{'layui-this':3 == current}" class="layui-nav-item">
        <a href="{:url('user/index/post')}">
        <i class="layui-icon">&#xe612;</i>
        我的贴子
        </a>
    </li>
    <li :class="{'layui-this':4 == current}" class="layui-nav-item">
        <a href="{:url('user/index/message')}">
        <i class="layui-icon">&#xe611;</i>
        我的消息
        </a>
    </li>
    </ul>

<div class="site-tree-mobile layui-hide">
  <i class="layui-icon">&#xe602;</i>
</div>
<div class="site-mobile-shade"></div>

<div class="site-tree-mobile layui-hide">
  <i class="layui-icon">&#xe602;</i>
</div>
<div class="site-mobile-shade"></div>
</template>

<script>

export default {
  components: {},
  props: ['current'],
  data() {
    return {
    };
  },
  mounted(){
  },
}
</script>